<?php
	$duration = "";
	if(isset($_GET['dur']) ){
		$duration = $_GET['dur'];
	}
	
	$distance = "";
	if(isset($_GET['dist']) ){
		$distance = $_GET['dist'];
	}
	
	function getDuration(){
		global $duration;
		echo $duration;
	}
	
	function getDistance(){
		global $distance;
		echo $distance;
	}
	


?>